<?php defined('SYSPATH') or die('No direct script access.');	

class Model_Dao_FinalSegments extends ORM{

	protected $_table_name  = 'final_segments'; // default: accounts
    protected $_primary_key = 'id';      // default: id
    protected $_primary_val = 'final_segment';      // default: name (column used as primary value)
    
	// default for $_table_columns: use db introspection to find columns and info
    // see http://v3.kohanaphp.com/guide/api/Database_MySQL#list_columns for all possible column attributes
    protected $_table_columns = array(
        'id'   => array('data_type' => 'int',    'is_nullable' => FALSE),
    	'final_segment' => array('data_type' => 'string',    'is_nullable' => TRUE), 
        'first_derivative'  => array('data_type' => 'string', 'is_nullable' => TRUE),
    	'second_derivative' => array('data_type'=>'string', 'is_nullable' => TRUE),
    	'third_derivative' => array('data_type'=>'string', 'is_nullable' => TRUE),
    	'fourth_derivative' => array('data_type'=>'string', 'is_nullable' => TRUE),
    );
          
    //Relaciones
    //{}
	

}?>
